package com.qh.yyxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.yyxt.pojo.entity.meeting.DelayBorrow;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DelayBorrowMapper extends BaseMapper<DelayBorrow>
{
    //添加延时申请
    public int add(DelayBorrow delayBorrow);
    //修改状态
    public int update(int bid,String delaystate);
    //根据bid查询
    public DelayBorrow getByBid(int bid);
    //根据id查询
    public DelayBorrow findById(int id);
    //返回所有
    public List<DelayBorrow> findAll();
}
